package com.atwulidun.factory02.abstractfactory.order;

import com.atwulidun.factory02.abstractfactory.pizza.CheesePizza;
import com.atwulidun.factory02.abstractfactory.pizza.Pizza;
import com.atwulidun.factory02.abstractfactory.sausage.CheeseSausage;
import com.atwulidun.factory02.abstractfactory.sausage.Sausage;

public class CheeseFactory implements Factory {

    @Override
    public Pizza createPizza() {
        return new CheesePizza("芝士披萨");
    }

    @Override
    public Sausage createSausage() {
        return new CheeseSausage("芝士香肠");
    }
}
